﻿<%@ Page Language="C#" MasterPageFile="~/web.master" AutoEventWireup="true" CodeBehind="parameter_list.aspx.cs" Inherits="Shuba.Web.parameter.parameter_list" %>
<%@ Register Assembly="Shuba.Framework" Namespace="Shuba.Framework" TagPrefix="cc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
            <table class="text" border="0" width="100%" cellspacing="0" cellpadding="2">
				<tr>
					<td class="text bg_content" bgcolor="#FFFFFF" align="center"><p>&nbsp;</p>
			<table class="black" border="0" width="95%" cellspacing="0" cellpadding="0">
				<tr>
					<td class="title_back" align="left">
					    <table class="text" border="0" width="100%" cellspacing="0" cellpadding="0">
					    <tr>
					    <td class="title_back2" width="2%">&nbsp;</td>
					    <td class="title_back2 title_white" width="30%"><asp:Label ID="LabelTitle" runat="server" Text="Label"></asp:Label></td>
					    <td><span class="title_right"></span></td>
					    </tr>
					    </table>
                    </td>
					<td class="title_back" align="right">
					</td>				                            
				</tr>
				<tr>
					<td colspan="2" class="border_nobottom bg_subtitle_white">&nbsp; View</td>
				</tr>
				<tr>
				<td class="border_nobottom" colspan="2">
				<table class="text" border="0" width="100%" cellspacing="0" cellpadding="4">
					<tr>
					<td class="bg_grid" align="right"><b>SPA Desktop Parameters</b></td>
					<td class="bg_grid" align="left">&nbsp;</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Good Until Follow-Up Lending</td>
						<td class="bg_grid2" align="left">
                            <asp:HiddenField ID="hidID" runat="server" />
                            <asp:Label ID="lblGuFUP" runat="server" Width="100px" CssClass="text"></asp:Label>&nbsp;day(s)&nbsp;&nbsp;
						</td>
					</tr>
                    <tr>
						<td class="bg_grid" align="right" width="25%">Good Until Close Deal Lending</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="lblGuCD" runat="server" Width="100px" CssClass="text"></asp:Label>&nbsp;day(s)&nbsp;&nbsp;
						</td>
					</tr>
                    <tr>
						<td class="bg_grid" align="right" width="25%">Good Until Follow-Up Funding</td>
						<td class="bg_grid2" align="left">
                            <asp:Label ID="lblGuFUPFunding" runat="server" Width="100px" CssClass="text"></asp:Label>&nbsp;day(s)&nbsp;&nbsp;
						</td>
					</tr>
                    <tr>
						<td class="bg_grid" align="right" width="25%">Good Until Close Deal Funding</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="lblGuCDFunding" runat="server" Width="100px" CssClass="text"></asp:Label>&nbsp;day(s)&nbsp;&nbsp;
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">SPADA & Temp Prospect UM Purging Period</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="lblPurging" runat="server" Width="100px" CssClass="text"></asp:Label>&nbsp;month(s)&nbsp;&nbsp;
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Plafon Plan Parameter - NPWP</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="lblNPWP" runat="server" Width="200px" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Final Dedup Result to Close Deal</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="lblFinalDedup" runat="server" Width="50px" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
					<td class="bg_grid" align="right"><b>SPA Web Parameters</b></td>
					<td class="bg_grid" align="left">&nbsp;</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">SPA Web Purging Period</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="lblPurgWeb" runat="server" Width="100px" CssClass="text"></asp:Label>&nbsp;month(s)&nbsp;&nbsp;
						</td>
					</tr>
					<tr>
					<td class="bg_grid" align="right"><b>Database Password</b></td>
					<td class="bg_grid" align="left">&nbsp;</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">SPADA DB Password</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="lblPass" runat="server" Width="250px" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
					<td class="bg_grid" align="right"><b>General Parameters</b></td>
					<td class="bg_grid" align="left">&nbsp;</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Is Auto / Manual Processing Date</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="lblProcessingDate" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Processing Date</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="dtProcessDate" runat="server"></asp:Label>
						</td>
					</tr>					
					<tr>
						<td class="bg_grid" align="right" width="25%">Time Out Login</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="lblTimeOut" runat="server" Width="50px" CssClass="text"></asp:Label>&nbsp;minute(s)&nbsp;&nbsp;
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Refresh Time Login</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="lblRefresh" runat="server" Width="50px" CssClass="text"></asp:Label>&nbsp;minute(s)&nbsp;&nbsp;
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Job Batch Scheduler Time Final Dedup</td>
						<td class="bg_grid2" align="left">
						    <asp:Label ID="lblJobFinalDedup" runat="server" Width="50px" CssClass="text"></asp:Label>&nbsp;minute(s)&nbsp;&nbsp;
						</td>
					</tr>					
					</table>
				    <!-- Error Message -->
				    <table runat=server visible=false id="ErrBox" class="border" border="0" width="100%" cellspacing="0" cellpadding="2">
				    <tr>
				    <td class="bg_grid2" align=center><asp:Label ID="ErrMsg" runat="server" Text="" Font-Bold=true ForeColor="Red"></asp:Label></td>
				    </tr>
				    </table>
				    <!-- End Of Error Message -->
				</td></tr>
				<tr>
				<td class="border bg_footer" colspan="2" align=right>
                    <asp:Button ID="btnEdit" runat="server" Text="Edit" Width="75px" CssClass="buttonsmall" onclick="btnEdit_Click" />
					&nbsp; &nbsp; </td></tr>
			    </table>
			    
		<!-- APPROVAL START HERE -->
            <br /><br />
           <asp:Panel ID="ApprovalPnl" Visible=false runat="server">
            <table class="black" border="0" width="95%" cellspacing="0" cellpadding="0">
                <tr>
                    <td class="title_back" align="left" width=40%>
					    <table class="text" border="0" width="100%" cellspacing="0" cellpadding="0">
					        <tr>
					        <td class="title_back2" width="2%">&nbsp;</td>
					        <td class="title_back2 title_white" width="38%">Need for Approval</td>
					        <td><span class="title_right" width="60%"></span></td>
					        </tr>
					    </table>
                    </td>
                    <td class="title_back" align="right">&nbsp;&nbsp;</td>
                </tr>
                <tr>
                    <td class="border" colspan="2">
                        <cc:SHUBAGrid ID="ApprovalGrid" runat="server" AutoGenerateColumns="False" Width="100%"
                            DataKeyNames="ROW_ID" 
                            AllowPaging="True" PageSize="20">
                            <Columns>
                                <asp:HyperLinkField DataNavigateUrlFields="ROW_ID" DataNavigateUrlFormatString="parameter_approval.aspx?id={0}" DataTextField="GU_FUP" HeaderText="Good Until Follow-Up" ItemStyle-HorizontalAlign="Center" SortExpression="GU_FUP" />
                                <asp:HyperLinkField DataNavigateUrlFields="ROW_ID" DataNavigateUrlFormatString="parameter_approval.aspx?id={0}" DataTextField="GU_CLOSE_DEAL" HeaderText="Good Until Close Deal" ItemStyle-HorizontalAlign="Center" SortExpression="GU_CLOSE_DEAL" />
                                <asp:HyperLinkField DataNavigateUrlFields="ROW_ID" DataNavigateUrlFormatString="parameter_approval.aspx?id={0}" DataTextField="GU_FUP_FUNDING" HeaderText="Good Until Follow-Up Funding" ItemStyle-HorizontalAlign="Center" SortExpression="GU_FUP_FUNDING" />
                                <asp:HyperLinkField DataNavigateUrlFields="ROW_ID" DataNavigateUrlFormatString="parameter_approval.aspx?id={0}" DataTextField="GU_CLOSE_DEAL_FUNDING" HeaderText="Good Until Close Deal Funding" ItemStyle-HorizontalAlign="Center" SortExpression="GU_CLOSE_DEAL_FUNDING" />
                                <asp:BoundField DataField="PURGING_PERIOD" HeaderText="PURGING PERIOD" SortExpression="PURGING_PERIOD" ItemStyle-HorizontalAlign=Center />
                                <asp:BoundField DataField="PURGING_PERIOD_WEB" HeaderText="SPA WEB PURGING PERIOD" SortExpression="PURGING_PERIOD_WEB" ItemStyle-HorizontalAlign=Center />
                                <asp:TemplateField HeaderText="Auto Process Date" SortExpression="IS_AUTO_PROCESS_DATE" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                       <%# Eval("IS_AUTO_PROCESS_DATE").ToString() == "1" ? "True" : "False"%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="PROCESS_DATE" HeaderText="PROCESSING DATE" SortExpression="PROCESS_DATE" DataFormatString="{0:dd MMMM yyyy}" ItemStyle-HorizontalAlign=Center />
                                <asp:BoundField DataField="NPWP" HeaderText="NPWP Parameter" SortExpression="NPWP" DataFormatString="{0:n0}" ItemStyle-HorizontalAlign="Right" />
                                <asp:BoundField DataField="TIME_OUT" HeaderText="Time Out" SortExpression="TIME_OUT" ItemStyle-HorizontalAlign="Right" />
                                <asp:BoundField DataField="REFRESH_TIME" HeaderText="Refresh Time" SortExpression="REFRESH_TIME" ItemStyle-HorizontalAlign="Right" />
                                <asp:BoundField DataField="ACT_TYPE" HeaderText="TYPE" SortExpression="ActType" ItemStyle-HorizontalAlign=Center />
                                <asp:BoundField DataField="UPDATE_BY" HeaderText="MAKER" SortExpression="UPDATE_BY" ItemStyle-HorizontalAlign=Center />
                                <asp:BoundField DataField="UPDATE_DATE" HeaderText="DATE" SortExpression="UPDATE_DATE" DataFormatString="{0:dd MMM yyyy hh:mm:ss tt}" ItemStyle-HorizontalAlign=Center/>
                            </Columns>
                            <PagerSettings Mode="Numeric" Visible="true" />
                        </cc:SHUBAGrid>
                    </td>
                </tr>
            </table>
           </asp:Panel>
           <!-- END OF APPROVALE -->
           <p></td>
		</tr>
</table>
</asp:Content>